[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Mnu:Init(Name,R,C,CurSize,Items,SelItems,Clr,Shadow): public: return true
This method serves for initialising and positioning of the window for
the menu to the screen to be nearest as possible to the cursor and
not to cover the desired text (started on the R,C position with the length
of CurSize). The window must be whole visible. After the preparing task is
done, the menu is painted to the screen and the control is returned to the
calling function.
Parameter description:
~~~~~~~~~~~~~~~~~~~~~~
Name: text or code block: no default
Text or code block as window title.
R: numeric: default is Row().
Text -row- (cursor) screen position, which shouldn't be covered,
but the window should be as near as possible to this text.
C: numeric: default is Col().
Text -column- (cursor) screen position, which shouldn't be covered,
but the window should be as near as possible to this text.
CurSize: numeric: default is 1.
Text width which shouldn't be covered, but the window should be as near
as possible to this text.
Items: array: no default the data must be entered
Text strings array, representing the menu.
SelItems: array: default is the array filled with the true items of
the same size as the array selected by Items parameter.
This array enables the menu items selection.
Clr: character: default is m->Color:Edit.
Window colors.
Shadow: logical: default is true for color monitor, false for monochrom.
If true the shadow is painted around the window.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson